package com.qidianit.mes.pojo.pro;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * Package Path: com.qidianit.mes.pojo
 * Author: Alhz
 * Description: 工序表
 * Date: 2025/9/17 09:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Process {
    private Long id;
    private String processCode;
    private String processName;
    private String processDescription;
    private String remarks;
    private Integer isActive;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
    private Integer creatorId = 101;
    private Integer modifierId = 1001;


    private Integer deleteFlag = 0;
}
